package com.shop.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @BelongsProject: shop
 * @BelongsPackage: com.shop.annotation
 * @Author: GaoDo
 * @CreateTime: 2020-11-21 15:32
 * @Description:
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RequireRoles {
    String[] roles() default {};
}
